***** Replication File for Main Study Tables *****
use "Full Dataset Merged and Coded.dta", clear

*** Table 1 ***

* Baseline Model: 
reg Turnout Time Treated DID if Year == 2010 | Year == 2015 | Year == 2013 | ///
Year == 2018 | Year == 2011 | Year == 2019, vce (cluster District)

*Control Model:
reg Turnout Time Treated DID femalepoppct SCSTpoppct SecondEducpct CollegeEducpct ///
avgdistage avgexpendperdist if Year == 2010 | Year == 2015 | Year == 2013 | Year == 2018 | Year == 2011 | Year == 2019, vce (cluster District)

* Fixed Effects Model: 
reg Turnout Time Treated DID femalepoppct SCSTpoppct SecondEducpct ///
CollegeEducpct avgdistage avgexpendperdist i.State i.Year ///
if Year == 2010 | Year == 2015 | Year == 2013 | Year == 2018 | Year == 2011 | Year == 2019, vce (cluster District)

*** Table 2 ***

*Baseline Model
reg Turnout Time Treated DID if State == 1 & Year == 2010 | State == 1 & Year == 2015 | ///
State == 2 & Year == 2010 | State == 2 & Year == 2015 | State == 4 & Year == 2011 | /// 
State == 4 & Year == 2019, vce (cluster District)

* Control Model
reg Turnout Time Treated DID femalepoppct SCSTpoppct SecondEducpct CollegeEducpct ///
avgdistage avgexpendperdist if State == 1 & Year == 2010 | State == 1 & Year == 2015 | /// 
State == 2 & Year == 2010 | State == 2 & Year == 2015 | State == 4 & Year == 2011 | ///
State == 4 & Year == 2019, vce (cluster District)

* Fixed Effects Model 
reg Turnout Time Treated DID femalepoppct SCSTpoppct SecondEducpct ///
CollegeEducpct avgdistage avgexpendperdist i.State i.Year ///
if State == 1 & Year == 2010 | State == 1 & Year == 2015 | ///
State == 2 & Year == 2010 | State == 2 & Year == 2015 | ///
State == 4 & Year == 2011 | State == 4 & Year == 2019, vce (cluster District)

*** Table 3 ***

* Baseline Model: 
reg Turnout Time Treated DID, vce (cluster District)

*Control Model:
reg Turnout Time Treated DID femalepoppct SCSTpoppct SecondEducpct CollegeEducpct ///
avgdistage avgexpendperdist, vce (cluster District)

* Fixed Effects Model: 
reg Turnout Time Treated DID femalepoppct SCSTpoppct SecondEducpct ///
CollegeEducpct avgdistage avgexpendperdist i.State i.Year, vce (cluster District)

* Time Trends Model: 
reg Turnout Time Treated DID femalepoppct SCSTpoppct SecondEducpct ///
CollegeEducpct avgdistage avgexpendperdist Year Time_Trends, vce (cluster District)


